import request from '@/utils/request'

export function users1New(data) {
  return request({
    url: '/users1New',
    method: 'post',
    data: data,
    baseURL: process.env.VUE_APP_BASE_API_DATA
  })
}
export function updateAppUserGNew(data) {
  return request({
    url: '/updateAppUserGNew',
    method: 'post',
    data: data,
    baseURL: process.env.VUE_APP_BASE_API_DATA
  })
}
export function deleteUsers(data) {
  return request({
    url: '/users-anon/deleteUsers',
    method: 'post',
    data: data,
    baseURL: process.env.VUE_APP_BASE_API_DATA
  })
}
export function register1New(data) {
  return request({
    url: '/users-anon/register1New',
    method: 'POST',
    data: data,
    baseURL: process.env.VUE_APP_BASE_API_DATA
  })
}
export function findRolesByUserAllNew(data) {
  return request({
    url: '/findRolesByUserAllNew',
    method: 'POST',
    data: data,
    baseURL: process.env.VUE_APP_BASE_API_DATA
  })
}

export function resetPassword(data) {
  return request({
    url: '/users/resetPassword2',
    method: 'post',
    data: data,
    baseURL: process.env.VUE_APP_BASE_API_DATA
  })
}